@using CodeCamp.Models.Email
@using CodeCamp.Models.Shared
@using CodeCamp.Model
@model EmailContentItem

@* HTML View for UserMailer#Test *@

Hello @Model.FirstName,<br /><br />
<p>This is a test message from Boston Code Camp.</p>
@if (!string.IsNullOrWhiteSpace(Model.CustomContent1))
{
    <p>@Html.Raw(Html.Encode(Model.CustomContent1).Replace(Environment.NewLine, EmailItem.lineBreak))</p>
}
@if (!string.IsNullOrWhiteSpace(Model.CustomContent2))
{
    <p>@Html.Raw(Html.Encode(Model.CustomContent2).Replace(Environment.NewLine, EmailItem.lineBreak))</p>
}
@if (!string.IsNullOrWhiteSpace(Model.Salutation))
{
    <p>@Html.Raw(Html.Encode(Model.Salutation).Replace(Environment.NewLine, EmailItem.lineBreak))</p>
}
